{% spaceless %}
 
<div class="paginator">
{% if digg_paginator.has_previous %}<span class="prev"><a href="{{digg_paginator.base_url}}{{ digg_paginator.previous }}" title="Previous Page">&laquo Previous</a></span>{% else %}<span class="prev-na">&laquo Previous</span>{% endif %}
 
{% if not digg_paginator.in_leading_range %}
	{% for num in digg_paginator.pages_outside_trailing_range %}
		<span class="page"><a href="{{digg_paginator.base_url}}{{ num }}" >{{ num }}</a></span>
	{% endfor %}
	...
{% endif %}
 
{% for num in digg_paginator.page_numbers %}
  {% ifequal num digg_paginator.page %}
    <span class="curr" title="Current Page">{{ num }}</span>
  {% else %}
  	<span class="page"><a href="{{digg_paginator.base_url}}{{ num }}" title="Page {{ num }}">{{ num }}</a></span>
  {% endifequal %}
{% endfor %}
 
{% if not digg_paginator.in_trailing_range %}
	...
	{% for num in digg_paginator.pages_outside_leading_range reversed %}
		<span class="page"><a href="{{digg_paginator.base_url}}{{ num }}" >{{ num }}</a></span>
	{% endfor %}
{% endif %}
 
{% if digg_paginator.has_next %}<span class="next"><a href="{{digg_paginator.base_url}}{{ digg_paginator.next }}" title="Next Page">Next &raquo</a></span>{% else %}<span class="next-na">Next &raquo</span>{% endif %}
</div> 
 
{% endspaceless %}